home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / Coldfusion / coldfusion-60-win-en.exe / index.cfm25 < prev    next >
Encoding:
Text File  |  2002-03-18  |  1.0 KB  |  46 lines

  1. ollection="#attributes#">
  2.         <cfif arg is not "name" and arg is not "defaultValue">
  3.             <cfoutput> #arg#="#attributes[arg]#"</cfoutput>
  4.         </cfif>
  5.     </cfloop>
  6.     
  7.     <cfoutput>></cfoutput>
  8.     </cfcase>
  9.     
  10.     <cfcase value="end">
  11.         <cfoutput></form></cfoutput>
  12.     </cfcase>
  13. </cfswitch>
  14.  
  15. <cfsetting enableCFOutputOnly=0><cfsetting enableCFOutputOnly=1>
  16. <!--- 
  17. **
  18. * CFMX Example Applications
  19. *
  20. * Copyright (c) 2002 Macromedia.  All Rights Reserved.
  21. *
  22. * YOUR RIGHTS WITH RESPECT TO THIS SOFTWARE IS GOVERNED BY THE
  23. * TERMS AND CONDITIONS SET FORTH IN THE CORRESPONDING EULA.
  24. *
  25. **
  26.  --->
  27.  
  28. <!--- 
  29.     This tag handles the execution of the form. If we haven't passed the
  30.     form data, we exit out.
  31. --->
  32.  
  33. <cfif not listFindNoCase(getBaseTagList(),"cf_main")>
  34.     <cfthrow message="form:onSubmit must be wrapped in form:main tags.">
  35. </cfif>
  36.  
  37. <cfset parent = getBaseTagData("cf_main")>
  38.  
  39. <cfif not isDefined("form.#parent.attributes.name#")>
  40.     <cfsetting enableCFOutputOnly=0>
  41.     <cfexit>
  42. </cfif>
  43.  
  44. <cfsetting enableCFOutputOnly=0>
  45.  
  46. <cfsetting enableCFOutp